package com.myl.api.service;

import cn.dev33.satoken.stp.SaTokenInfo;
import com.myl.core.domain.model.AdminLoginInfo;

/**
 * ILoginService
 * author: myl <ixiaomu@qq.com> 2024/1/10
 * tips:
 */
public interface ILoginService {
    /**
     * 后台登录
     * @return SaTokenInfo
     */
    Object doAdminLogin(String username, String password);

    /**
     * 安全退出
     */
    void doAdminLogout();
}
